package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.battle.pojo.converter.MetaObjectConverter;
import com.battle.pojo.enums.resource.ResourceTypeEnum;
import com.battle.pojo.resource.MetaDto;
import jakarta.persistence.Convert;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import javax.persistence.Column;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 25522-06-16 22:51
 *
 *  资源
 */
@Data
@TableName(value = "RESOURCE",autoResultMap = true)
@Entity(name = "RESOURCE")
@AccEntity(value = "资源", type = EntityType.SERVICE_ENTITY)
public class Resource extends DomainBaseEntity<Resource> {

    /**
     * 内容
     */
    @Column()
    private String content;

}
